package com.lm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lm.pojo.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MenuMapper extends BaseMapper<Menu> {
    List<Menu> getMenuByParentIdAndRoleId(@Param("parentId") int parentId, @Param("roleId") Integer roleId);
}
